package com.yanqu.road.entity.log.cross.jiuzhou;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(desc = "九州棋局-战斗日志", tableName = "t_l_ck_jiu_zhou_battle", autoSave = true, uploadCk = true, isCross = true)
public class LogJiuZhouBattle extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "轮次")
    private int round;

    @FieldTypeAnnotation(desc = "房间id")
    private int roomId;

    @FieldTypeAnnotation(desc = "战场数")
    private int gameRound;

    @FieldTypeAnnotation(desc = "回合数")
    private int battleRound;

    @FieldTypeAnnotation(desc = "用户1Id")
    private long userId1;

    @FieldTypeAnnotation(desc = "用户2Id")
    private long userId2;

    @FieldTypeAnnotation(desc = "用户1 锦囊")
    private int skillId1;

    @FieldTypeAnnotation(desc = "用户2 锦囊")
    private int skillId2;

    @FieldTypeAnnotation(desc = "用户1 出战门客")
    private int patronsId1;

    @FieldTypeAnnotation(desc = "用户2 出战门客")
    private int patronsId2;

    @FieldTypeAnnotation(desc = "用户1血量变化")
    private int offsetHp1;

    @FieldTypeAnnotation(desc = "用户2血量变化")
    private int offsetHp2;

    @FieldTypeAnnotation(desc = "战斗时间")
    private long battleTime;

    public LogJiuZhouBattle(int activityId, int round, int roomId, int gameRound, int battleRound, long userId1, long userId2, int skillId1, int skillId2, int patronsId1, int patronsId2, int offsetHp1, int offsetHp2, long battleTime) {
        this.activityId = activityId;
        this.round = round;
        this.roomId = roomId;
        this.gameRound = gameRound;
        this.battleRound = battleRound;
        this.userId1 = userId1;
        this.userId2 = userId2;
        this.skillId1 = skillId1;
        this.skillId2 = skillId2;
        this.patronsId1 = patronsId1;
        this.patronsId2 = patronsId2;
        this.offsetHp1 = offsetHp1;
        this.offsetHp2 = offsetHp2;
        this.battleTime = battleTime;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
